﻿using AnyLink.Domain.Entities.Auditing;
using SqlSugar;

namespace AnyLink.Domain.Entities
{
    /// <summary>
    /// 基础审计实体
    /// </summary>
    public class BaseAuditedEntity<T> : AuditedObject,IPrimaryKeyEntity<T>
    {
        /// <summary>
        /// 主键
        /// </summary>
        [SugarColumn(IsPrimaryKey = true, ColumnDescription = "主键")]
        public virtual T Id { get; set; }
    }
}
